Hwk_Act1_Solution_v2.py